Adaptive intrafield reducing of gaussian noise by fuzzy logic processing

Abstract: The level of Gaussian noise in a memory field being scanned by rows is reduced by reconstructing each pixel by fuzzy logic processors, the latter processing the the values of pixels neighbouring the pixel being processed and belonging to a processing window defined by the last scanned row and the row being scanned, thus minimizing the memory requisite of the filtering system to a single row. The system perform an adaptive filtering within the current field itself and does not produce edge-smoothing effects as in prior adaptive filtering systems operating on consecutive fields.

Description: The present invention relates to an adaptive filtering system to reduce the level of Gaussian noise in a memory field being scanned by rows. More in particular the system of the invention is adapted to reduce the noise of an image to be displayed on screen by implementing an adaptivity in response to brightness changes, according to a predefined sensorial response system. BACKGROUND OF THE INVENTION Noise is inherent to any communication system and, in television broadcasting networks, originates in different ways. At the source of image, noise may be either generated by photon or thermal noise in a videocamera or by granular noise in films of cameras. Signal processing circuits and recorder play back systems add noise because the signal circulates in an intrinsically noisy loop. Finally, the signal may be carried to the transmitter via a distribution network that adds more noise, and broadcast via an intrinsically noisy transmission medium. The receiver circuits themselves add noise. Many techniques have been developed to reduce the problem of Gaussian noise and these are described in literature. The adaptivity of noise level to a certain image/video sequence is a key feature of the so-called "clever" filters. Generally, this adaptivity is obtained using non linear techniques such as averaging filters or filters with variable behavior depending on the estimation of some parameters. For instance, many known filters are obtained using scale and position estimates, or by estimating the temporal correlation (Recursive Averaging Filters) which is the most common techniques presently used in TV environments. EP-A-0 698 990 discloses a fuzzy device for filtering the Gaussian noise contained in a data stream relative to a certain field scanned by rows, by storing the information of a preceding scanned row, that defines, together with the data of row being currently scanned, a certain bidimensional processing window of a certain number of pixels, computing the difference between the value of a pixel of the row being scanned and the value of the neighbouring pixels belonging to the processing window and processing by fuzzy logic the computed differences. These known techniques have intrinsic disadvantages and/or limitations. In the case of a video sequence strongly affected by noise, the filter may confuse the noise with motion effects resulting in a poor noise reduction effect. To better this situation, the user could automatically select amongst a set of preordered response characteristics such as to dynamically accentuate or reduce the filtering effect. However, these systems of arbitrary selection influences the temporal frequency, introducing a sort of "comet effect" which may becomes more annoying than an excessive edge smoothing. On the other hand, motion detection requires at least one field memory in the recursive loop of the filter with the consequent increment of total memory requisite of the system. SCOPE AND SUMMARY OF THE INVENTION It is evident the need and/or utility for a Gaussian noise filtering system that minimizes the memory requisite for noise filtering and that introduces an adaptivity to the local picture characteristics based on the sensorial response to brightness changes of the so-called Human Visual System without penalizing edge definition by an undue smoothing. The filtering system of the invention provides for an effective response to these important requisites by processing data relative exclusively to a certain memory field, thus minimizing the memory requisite. The essential characteristic of the system of the invention is the utilization of a fuzzy logic process which allows for a current definition of the adaptivity parameters bearing in mind the characteristics of a certain scheme of sensorial response, such as for example the scheme of response to brightness changes known as the Human Visual System (HVS). The method of the invention permits to curb the noise affecting a certain area of a field scanned by rows, without employing information devided from a preceding field or picture which, by contrast, is the classic approach of the known systems wherein the noisy pixel is substituted with an averaged pixel value of the nearby ones belonging to a certain processing window. This known approach has indeed the serious disadvantage of smoothing the edges and the contours of the objects depressing image definition. By contrast, according to the present invention, each noisy pixel singled out within a certain processing window, is substituted with a weighted average of the surrounding pixels, according to a prestablished degree of similarity between the same pixel to be substituted and each of the nearby ones. In this manner, if K i provides a measure of the degree of similarity between the pixel X to be filtered and a generic pixel X i belonging to the process window, the output filtered pixel value is given by: X(i) out = K i *X + (1-K i )*X i If K i is equal to 0, X and X i are equal and thereby X may be substituted with X i . Contrarily, if K i is equal to 1, X and X i are radically different from each other and in this situation their exchange would introduce a serious error. Therefore, according to the present invention, the filter output is obtained through a superimposition of the effects of several elementary filters whose function is described by equation (1), and such that the output pixel is expressed by the following relationship: wherein: X represents the value relative to the gray level of the pixel being processed; X i represents the value relative to the gray level of a pixel of neighbouring the pixel under processing K i provides the measure of similarity between the pixel X and the adjacent pixel X i , in practice K i represents the value produced by a fuzzy logic processing block according to a membership function corresponding to the sentence "the difference between the pixels is low ". N is the number of neighbouring pixels considered. The invention is more clearly defined in the annexed claim 1 and 5 and particularly preferred embodiments are specified in claims depending therefrom. BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 shows a processing window Figure 2 is an example of the membership function used to weigh the computed differences between the pixel under processing and the neighbouring pixels within the processing window of Figure 1. Figure 3 depicts a suitable membership function for generating the processing coefficients of a weighed average. Figure 4 is a basic scheme of a Gaussian noise filtering system according to the present invention. Figure 5 shows a block diagram of a circuit for defining a certain processing window. Figure 6 is a diagram of the computation blocks of the absolute values of the differences and extraction of the minimum difference and of the maximum difference. Figure 7 is a functional diagram of the fuzzy logic processing block of the pixel being processed and of the minimum and maximum differences to generate a pair of adaptive threshold values. Figure 8 is a functional diagram of the plurality of fuzzy logic processing blocks of each computed difference to generate a set of weighed coefficients that affect an identical number of elementary filters and of the adder block regenerating the output pixel value. DESCRIPTION OF THE METHOD OF THE INVENTION Let us consider a processing window as the one shown in Figure 1, being X the pixel to be processed. The pixels X1, X2, X3 are the pixels of a scan line preceding the current scan line to which the pixel to be processed belongs neighbouring the pixel X, whereas X4, X5, X6 and X7 represent neighbouring pixels of the pixel X i belonging to the current scan line. According to a fundamental aspect of the invention the system must preliminarily carry out an estimation of the noise level. For this purpose, the system computes the absolute values of the differences D i between the pixel to be filtered X and the neighbouring ones, X i , and finds the maximum difference D max and the minimum difference D min among the absolute values of the computed differences D i . Using a fuzzy logic processing, different membership functions can be found that fulfill the sentence: " the absolute difference value | D i | is small ", but if, by hypothesis, the produced value K i varies according to the following law: K i = D max D max - D min - | D i | D max - D min several drawbacks would arise: i) if the processing window does not contain edges, or boundaries of objects or features, D max and D min will be exclusively correlated to the noise, which therefore would not be significantly reduced; ii) on the contrary, if the processing window contains edges or boundaries, these would be unduly smoothed because of a certain loss of edge information. To avert the above mentioned drawbacks, a membership function based on the estimation of the noise level is implemented. If the filter processing window coincides with a relatively homogeneous area of a picture, all the differences D i will be close in terms of their absolute value and correlated to the noise. Thence, it is possible to select a membership function that is able to generate threshold parameters Th1 and Th2 that substantially coincide with D max . On the contrary, in case the pixel to be filtered belongs to an edge or boundary region of the image, the filtering action is made significant only where the differences among the pixels of the processing windows are small, that is to say, within the interval of the differences |D i | defined by [D min ;(D min +D max )/2]. The threshold parameters Th1 and Th2 are then computed according to the following equations: Th1 = K n * D max + (1-K n ) * D min Th2 = K n * D max + (1-K n ) * D max + D min 2 The range of the fuzzy variable "Low" may then be defined in terms of D max , D min , and K n , where K n influences the filter behavior according to the noise level determined for the area of the image defined by the processing window. As far as K n is concerned, in case the pixel to be processed belongs to a relatively homogeneous region of a picture affected by noise, D max and D min will be mainly correlated to the noise content and will have not so different values. In other words, this means that the difference (D max -D min ) is relatively small. If the pixel X to be processed belongs to an edge or boundary line, the difference (D max -D min ) will be large. Hence, the value of K n is obtained, according to the method of the invention, by using a weighed function of the type depicted in Figure 2. The parameter A depends on the brightness of the pixel to be processed. For example, it can be established on: A = x/λ or on A = (255-x)/λ By way of an example, a satisfactory value for λ may be 4. In choosing the parameter A for equation (6a), a standard scheme of sensorial response to contrast as the so-called Human Visual System (HVS) may be taken into consideration. According to Weber's law, equal increments on the logarithm scale of pixel luminance value are perceived to be equally different among from one another therefore: Δ(log)∝ΔC wherein ΔC represents the contrast variation. This means that: Δx/x = α where α is a constant. Hence, when an edge region is encountered, the condition Δx>αx is complied with. While Weber's law is generally used to detect the minimum gray level to be quantized without introducing any false contour effect, according to the method of this invention, Weber's law is used instead to modulate the filtering action in function of the luminance characteristics of the pixel being processed. If the parameter A is chosen according to the relationship (6b), a stronger filtering action is implemented in dark areas than in bright areas of the image, if compared to that would be obtained by using equation (6a), this in consideration of the fact that the human eye is more sensible to variations due to Gaussian noise in dark areas than in bright areas. DESCRIPTION OF THE ARCHITECTURE OF THE INVENTION A functional block diagram of a system implementing the above described technique is illustrated in Figure 4. After "constructing" the required processing window, according to common buffering techniques, which obviously involve information relative to the pixels belonging to at least two successive scanning lines or rows, a dedicated DIFFERENCE COMPUTATION circuit computes the differences D i (D1, D2,.....,D7) between the pixel luminance values (X1, X2, ..., X7) of the processing window neighbouring the pixel X being processed. The block, D MAX & D MIN DETECTION, identifies and selects by making them available through two dedicated outputs, the maximum and minimum values of the differences D i input to the block. A first fuzzy logic Adaptive Threshold Detection processing block receives as input the pair of values D max and D min of the current set of differences D i and computes the parameter K n according to the following function referred to as MEMBERSHIP 1, shown in Figure 2 and expressed by: if D max -D min A ⇒ K n = 0 if 0 ≤ D max -D min ≤ A ⇒ K n = 1 - (D max -D min /A) generating a corresponding pair of threshold values Th1 and Th2, according to equations (4) and (5), respectively. A second fuzzy logic LOCAL ADAPTIVE NOISE SMOOTHING processing block carries out the independent processing of each of the differences D i , using the previously generated threshold parameters Th1 and Th2 according to the function referred to as MEMBERSHIP 2, which may be depicted as done in Figure 3, and defined by: if |D i | < Th1 ⇒ K i = 1 if |D i | > Th2 ⇒ K i = 0 if Th1 ≤ |D i | ≤ Th2 ⇒ K i = | D i | Th 1- Th 2 - Th 2 Th 1- Th 2 producing a set of output values K i , each representing the measure of the degree of similarity between the pixel to be filtered, X, and a respective neighbouring pixel X i and inside the processing window, according to equation (3). A final filtering block separately processes each of the difference values D i in function of the respective weighing coefficient K i and, through a final adder stage Σ, produces the X out pixel as the sum of the weighed contributions, according to equation (2). The processing window can be easily realized by a circuit as that shown in Figure 5, whose functioning is immediately comprehended by a person skilled in the art. It is evident that the memory requisite is substantially limited to the information of a simple scan line or row (Line Memory) and therefore it is a minimum fraction if compared to the memory requisite needed to store a whole field or picture. A functional diagram of the block DIFFERENCE COMPUTATION and D MAX & D MIN DETECTION is illustrated in Figure (6). Even in this case the circuit functioning is readily comprehended by a skilled person. The ADAPTIVE THRESHOLD DETECTION block is schematically detailed in Figure 7. According to a preferred embodiment, a fuzzy logic processing block according to a certain membership function (MEMBERSHIP 1), receives as input the difference values D min and D max , the value of the pixel under processing and a certain parameter λ and outputs a value K n which, applied to the threshold generating blocks TH1 Gen and TH2 Gen, conditions the generated threshold values Th1 and Th2. Structural details of the LOCAL ADAPTIVE NOISE SMOOTHING and FINAL FILTERING block are shown in the functional diagram of Figure 8. The plurality of fuzzy logic circuits (MEMBERSHIP 2), generate a set of weighing coefficients K i , by processing each difference value according to the threshold pairs Th1 and Th2 previously generated by the circuit of Figure 7. The membership function used may be the one depicted in Figure 3. The computation of the set of coefficients K i allows to curt the noise level through the FINAL FILTERING block by using a number of partial filters suitable to produce a corresponding set of weighed contributes X(i) out that are then added by the final adder Σ which outputs the correct pixel X out .

Claims: A method of filtering Gaussian noise contained in a data stream relative to a certain field scanned by rows, comprising the steps of storing the information of a preceding scanned row defining together with the data of a row being currently scanned a certain bidimensional processing window of a certain number of pixels, computing the differences (D i ) between the value of a pixel (X) of the row being scanned and the value of the neighbouring pixels (X1, X2,...,X7) belonging to said processing window and processing by fuzzy logic said computed differences, characterized in that it includes the following steps determining the minimum (D min ) and the maximum (D max ) of the computed differences; processing by fuzzy logic the values of said pixel (X), of said minimum and maximum differences (D min , D max ) and of at least a parameter (λ), derived from the Human Visual System sensorial response (HVS), according to a first membership function (MEMBERSHIP 1), generating a first weighing coefficient (K n ); generating a pair of threshold values (Th1, Th2) of said differences according to said first weighing coefficient (K n ); processing by fuzzy logic each of said computed differences (D i ) and said pair of threshold values (Th1, Th2), according to a second membership function (MEMBERSHIP 2), producing a corresponding set of weighing coefficients (K i ); combining each of said computed differences (D i ) with a respective weighing coefficient (K i ); adding the results of said combinations producing a corrected value (X out ) of said pixel (X). The method according to claim 1, characterized in that said first weighing coefficient (K n ) is generated by using a membership function (MEMBERSHIP 1) defined by: if D max - D min > A ⇒ K n = 0 if 0 ≤ D max - D min ≤A ⇒ K n = 1 - (D max - D min /A) where A is a parameter that depends on the brightness of the pixel to be processed (X) and from said parameter (λ) derived from the Human Visual System sensorial response (HVS). The method according to claim 1, characterized in that said pair of threshold values (Th1, Th2) is generated according to the following equations Th1 = K n * D max + (1-K n ) * D min Th2 = K n * D max + (1-K n ) * D max + D min 2 The method according to claim 1, characterized in that said weighing coefficients (k i ) are generated using a membership function (MEMBERSHIP 2) defined by: if |D i | < Th1 ⇒ K i = 1 if |D i | > Th2 ⇒ K i = 0 if Th1 ≤ |D i | ≤ Th2 ⇒ K i = | D i | Th 1- Th 2 - Th 2 Th 1- Th 2 A system of adaptive filtering to curb Gaussian noise within a same field of an image, comprising buffering circuits of respective data sequences relative to a certain row of said field being scanned and to at least a previously scanned row of the same field, capable of defining a bidimensional processing window of pixels belonging to said consecutive rows (X, X1, X2, X3, X4, X5, X6, X7), a circuit computing the differences (D i ) between the value of a certain pixel (X) and the neighbouring pixels (X1,...,X7) of said processing window and fuzzy logic processor means, characterized in that the system includes a circuit that determines the maximum and minimum computed difference (D max , D min ); a first fuzzy logic processor (MEMBERSHIP 1) adaptively generating a pair of minimum and maximum threshold values (Th1, Th2) of said computed differences (D i ), depending on the value of said pixel (X), of said minimum and maximum difference (D min , D max ) and of at least a parameter (λ) derived from the Human Visual System sensorial response (HVS), according to a first membership function; a plurality of second fuzzy logic processors (MEMBERSHIP 2), each combining a respective difference (D i ) with said pair of threshold values (Th1, Th2), according to a second membership function and generating a respective weighing coefficient (K i ); a plurality of combinatory logic circuits (PARTIAL FILTER (i) ) each modifying a respective difference value (D i ) according to the respective weighing coefficient (K i ); an adder circuit adding the modified values of said computed differences (D i ) and outputting a corrected pixel value (X out ) of said pixel (X).

Inventors: D ALTO VIVIANA, MANCUSO MASSIMO, POLUZZI RINALDO, SIRTORI DANIELE, D'ALTO, VIVIANA, MANCUSO, MASSIMO, POLUZZI, RINALDO, SIRTORI, DANIELE
Applicants: ST MICROELECTRONICS SRL, STMICROELECTRONICS S.R.L.
Application year: 1997
Main classification: G06T1
IPC codes: G06T5, H04N5