USPatent applicationPatented

Design and hardware synthesis of adaptive weighted fuzzy mean image filter

Granted 18 Mar 2003 · 1 office action

Assignee: National Research Council of Canada

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Chao-Lieh Chen, Chang-Shing Lee, Yau-Hwang Kuo · Examiner: Wilbert L. Starks, Jr. · AU 2121 · TC 2100

Application· this page
9366049
filed 2 Aug 1999
Publication
Not published
not published
Patent
US 6,535,860
granted 18 Mar 2003

Life of the application

7 dated events
⤢ drag to zoom20002002200420062008201020122014201620182020ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

This invention proposes a novel nonlinear filter called adaptive weighted fuzzy mean (AWFM) filter which is capable of removing high density Gaussian impulse noises in polluted images. Via a single epoch, weights of the filter are departed according to a set of fuzzy rules, which are constructed by a proposed procedure. All the fuzzy rules in the knowledge base infer concurrently for input nature estimation and filter adaptation. Statistic analyses ensure that this AWFM filtering possesses robust and consistent performance even when images are thoroughly polluted. The AWFM filter is synthesized with generic LR fuzzy cells which adopts CMOS analog current mode technology to subject high speed, low power, and small circuit area objectives. Simulations show that parallel inferences realized by the generic LR fuzzy cells, each of which performs 20 M FLIPS (fuzzy logic inferences per second) promise that the synthesized AWFM filter is able to process up to 50 256256 images per second.

Description

10 parts
›FIELD OF THE INVENTION

This invention proposes a novel nonlinear filter called adaptive weighted fuzzy mean (AWFM) filter which is capable of removing high density Gaussian impulse noises in polluted images.

›BACKGROUND OF THE INVENTION

Conventionally, nature of input signal is essential when one is designing non-adaptive non-time-variant filters. However, uncertainty exists because one is unable to obtain desired information about input signal or because input signal is time-variant. In order to overcome this uncertainty problem, adaptive algorithm has been proposed by many researchers such as A. C. Tan etc. in IEEE Trans. Circuits Syst. II Vol. 44 (5) p358-370 (1997). Among the proposed adaptive algorithms such as that proposed by Petrus C. W. etc. in 1996 U.S. Pat. No. 5,581,494, recurrent methods of either Least Mean Square Error or Least Mean Absolute Error are introduced for parameter adjustments. But when the desired signal is unable to obtain or is uncertain in nature, reasonable results can't be possible by the methods above. In addition, repeating recurrent estimations can slow down the filter, which is not appropriate for high speed filtering. In view of hardware fabrication, complex circuits are required by recurrent estimations, either Least Mean Square Error or Least Mean Absolute Error, in order to manage data storage and the recurrent process. By current technology, it's still not feasible to achieve filtering with small circuits and high speed operation. Hence, the present invention proposes a direct method for adaptive filtering as well as a corresponding method of hardware synthesis in order to achieve the objectives. The adaptive, filter proposed in the present invention is highly stable and can quickly as well as effectively restore the polluted image without recurring estimations. The image can be recovered no matter how high the S/N level is. In addition, the filter in the present invention is input-dependent and time-variant in nature so that parameters can be weighted according to the input signal and there is no need to acquire nature of the input.

›DESCRIPTION OF THE PRIOR ART · 1 of 2

Recently fuzzy set theory, such as by X. J. Zeng in IEEE Trans. Fuzzy Systems Vol. 3 (2) p219-235 (1995), has been successfully applied on the estimations for non-linear systems or systems with uncertainty. The theory has the advantages of small memory requirement, short adapting time, and easy fabrication. Base on the theory of fuzzy logics, the present invention proposes a AWFM filter which can adapt itself according to a number of fuzzy rules. The AWFM filter can be treated as the extension of the WFM filter reported by C. S. Lee in Int. J. Fuzzy Sets and Systems Vol. 89 (2) 157-180 (1997). These fuzzy rules can be obtained by a simple algorithm without recurrent adaptations. FIG. 1 shows block diagrams of the AWFM filter. When the input signal x(i, j) reaches WFM, a set of fuzzy rule in the knowledge base is carried out to adjust weights of the WFM. The output of WFM, y wfm (i, j), is then sent to another set of fuzzy rules for quality evaluation and weight adjustment so that the fuzzy detector can detect the noise level ξ(i, j). Final output of the AWFM is determined by the, dynamic seletor among ξ(i, j), y wfm (i, j), y wfm (i, j)+ξ(i, j), and y wfm (i, j)−ξ(i, j).

In the hardware aspect, there are two major conventional categories for the synthesis of filters: (1) the analog data sampling technique by B. S. Song in IEEE J. of Solid-State Circuits Vol. 24 p.320-324 (1989), or ROC Patent Announcement No.135264 and 217475; (2) the continuous-time technique by J. Silva-Martinez in IEEE J. of Solid-State Circuits p993-1001 (1993), ROC Patent Announcement No.182719, 159301, and 143145. The former has higher accuracy in low noise applications while the latter can be applied for high frequency application. However, conventional filters are linear in nature without input-dependent or time-variant considerations. The present invention proposes a hardware synthesis method which introduces generic LR fuzzy cells adopted CMOS current mode, reported by the inventors in IEEE Trans. on Fuzzy Systems Vol. 6 (2) p266-285 (1998). The generic LR fuzzy cells are well proven for high speed fuzzy logic estimations and show good CMOS noise immunity. Many types of fuzzy rules can be represented by connecting these generic cells such as gates in conventional digital systems.

WFM Filter

In general, a WFM filter is a mean filter based on fuzzy number calculations. Conventional mean filters can't remove highly polluted impulse noises while WFM filters can, well and easily. Considering a clean image S with L gray levels, the gray value for each pixel lies between 0 and L−1 so that the gray scale pollution for the pixels in S can be represented by a fuzzy subset [0, L−1]. Each fuzzy subset represents an abstract concept (i.e. brightness) for the gray value, for example, dark (DK), median (MD), or bright (BR). Membership functions of these fuzzy subsets decide how each pixel relates to a specific abstract concept. The fuzzy subset can be obtained from the gray scale histogram according to C. S. Lee in Int. J. Fuzzy Sets and Systems vol. 89 (2) p157-180 (1997), or given by a specialist in the field. When transferring to the input of a image processing system, image S may be polluted so a filter is necessary for removing noises. Let X=[x(i, j)] N 1 ×N 2 and Y=[y WFM (i, j)]N N 1 ×N 2 represent the original image and the WFM filtered image respectively, pixel x(i, j) in X could be polluted by noise so that the gray value changes to x(i, j)=s(i, j)+n(i, j). It is the WFM filter's job to estimate s(i, j) with filtered signal y WFM (i, j) by the fuzzy subsets.

According to H. J. Zimmermann in Fuzzy set theory and its applications, the fuzzy sets used in WFM filters are L-R type, which can be represent by μ M  ( x ) = { L  ( m M - x α M ) ,    for     x ≤ m M R  ( x - m M β M ) ,    for     x > m M ( 1 )

where L(y)=R(y)=LR(y)=max(0, 1−y) for any real. In other words L and R equal to LR. μ M (x) can be represented by [m M , α M , β M ] LR . Let WFM(·) represent the function of WFM filters, the (i, j)th filtered pixel can be expressed by

y WFM ( i, j )= WFM ( X a×b ( i, j ))  (2)

where X _ 3 × 3  ( i , j ) = [    x  ( i - 1 , j - 1 ) x  ( i - 1 , j ) x  ( i - 1 , j + 1 ) x  ( i , j - 1 ) x  ( i , j ) x  ( i , j + 1 ) x  ( i + 1 , j - 1 ) x  ( i + 1 , j ) x  ( i + 1 , j + 1 )    ] ( 3 )

Functions of WFM filters can be described by a set of fuzzy rules defined as followed:

Definition 1

Fuzzy rules for WFM filters can be generally expressed by:

If U is M then V is f M ( U )

where M is a fuzzy set expressed by [m M , α M , β M ] LR , both U and V are matrix [u(i, j)] axb and [v(i, j)] axb (in WFM, a=b=3), so the subject “U is M” and “V is f M (U)” mean [u(i, j) is M] axb and [v(i, j) is f M (U)] axb . So the result fuzzy set f M (U) is defined by:

f M ( U )={(μ M ( u ( i, j )), u ( i, j ))|∀ u ( i, j )ε U }

where μ M (u(i, j)) coresponses to input u(i, j) on the assumption that u(i, j) is the matching degree of M.

The fuzzification formula is as follow: v = ∑ i = 1 a  ∑ j = 1 b  μ M  ( u  ( i , j ) ) × u  ( i , j ) ∑ i = 1 a  ∑ j = 1 b  μ M  ( u  ( i , j ) ) ( 4 )

To filt a pixel, a WFM filter first constructs three fuzzy rules for three different fuzzy mean procedures:

Rule 1: If X is DK then Y DK is f DK (X)

Rule 2: If X is MD then Y MD is f MD (X)

Rule 3: If X is BR then Y BR is f BR (X)

where DK represents the fuzzy set for “dark”, MD for “medium”, BR for “bright”. These fuzzy rules will generate three crisp values y DK , y MD , and y BR after defuzzification. Beside the three fuzzy mean procedures, WFM filters also carries out a fuzzy estimation defined by Rule 4.

Definition 2

H. J. Zimmermann has reported a LR type of fuzzy interval I (see Fuzzy set theory and its applications) in 1991, where membership functions of I are constructed by two functions L and R, and four parameters: (m Il , m Ir ) εR 2 ∪{−∞, ∞}, α 1 and β 1 . The fuzzy interval I=[m Il ,m Ir ,α 1 ,β 1 ] LR can be expressed by μ l  ( x ) = { L  ( m ll - x α l ) , for     x ≤ m ll 1 , for     m ll ≤ x ≤ m lr R  ( x - m lr β l ) , for     x ≥ m lr ( 5 )

›DESCRIPTION OF THE PRIOR ART · 2 of 2

Definition 3

According to C. S. Lee etc. in Int. J. Fuzzy Sets and Systems Vol. 89 (2) p157-180, (1997), ES which is described by the fuzzy estimator of WFM filters can be accomplished by the following fuzzy rule,

Rule 4: If X is I then the fuzzy estimate ES of X is f 1 (X)

where X is a sampling matrix based on x(i, j), I is the fuzzy interval obtained by histogram. Defuzzification es(X) for Rule 4 can be obtained according to equation (4).

Finally, Rule 5 represents a decision procedure, which selects one output among that of Rule 1 through 3 as the final output for WFM filters:

Rule 5: IF Y t is closest_to_ES then y WFM is f closest — to — ES (Y t )

where vector Y t =(y DK , y MD , y BR ) and fuzzy set closest_to_ES which defined in [0, L−1] can be described by the following membership function: μ closest_to  _ES  ( u ) = { 1 ,    if     u = arg    [ min y t ∈ Y t _  (  y t - es  ) ] , 0 , otherwise . ( 6 )

›BRIEF DESCRIPTION OF THE DRAWINGS

Table 1: Shown truth table, for the priority selection circuit in WFM filters.

Table 2: Shown truth table for the priority selection circuit in the dynamic selector.

Table 3: Shown effectiveness comparisons of AWFM, WFM, medium filters on various Gaussian impulse noises.

FIG. 1 : Shown block diagrams of AWFM filters.

FIG. 2 : Shown functional block diagrams of two types of generic LR implication cells

FIG. 2 ( a ) fuzzy sets with membership functions of single mode

FIG. 2 ( b ) fuzzy intervals with mode intervals

FIG. 3 : Shown details for the SUB circuit and the DIV circuit used by generic LR cells

FIG. 3 ( a ) SUB circuit

FIG. 3 ( b ) DIV circuit

FIG. 4 : Shown architecture of defuzzification cells

FIG. 5 : Shown synthesis of WFM filters

FIG. 5 ( a ) architecture of WFM filters

FIG. 5 ( b ) synthesis of fuzzy rules in [definition 1] by generic LR fuzzy cells

FIG. 5 ( c ) synthesis of the decision module in WFM filters

FIG. 6 : Shown details for the MAX circuit in the decision module of WFM filters

FIG. 7 : Shown combination of the MAX circuit and the priority selection circuit in WFM filters

FIG. 8 : Shown architecture of the fuzzy detector

FIG. 9 : Shown architecture of the dynamic selector

FIG. 10 : Shown MAE curves and MSE curves of AWFM, WFM, and medium filters Ia . . . AWFM filters I . . . WFM filters Im . . . medium filters

FIG. 10 ( a ): Shown MAE curves of AWFM, WFM, and medium filters for polluted image “Lena”, where x is the noise probability p

FIG. 10 ( b ): Shown MAE curves of AWFM, WFM, and medium filters for polluted image “Baboon”, where x is the noise probability p

FIG. 10 ( c ): Shown MSE curves of AWFM, WFM, and medium filters for polluted image “Lena”, where x is the noise probability p

FIG. 10 ( d ): Shown MSE curves of AWFM, WFM, and medium filters for polluted image “Baboon”, where x is the noise probability p

FIG. 11 : Shown comparisons between the fuzzy detector and the conventional detector on image “House” (impulse amplitude is 100)

FIG. 12 : Shown comparisons between the fuzzy detector and the conventional detector on image “Lena” (impulse amplitude is 100)

FIG. 13 : Shown comparisons between the fuzzy detector and the conventional detector on image “Airplane” (impulse amplitude is 100)

FIG. 14 : Shown comparisons between the fuzzy detector and the conventional detector on image “Sailboat” (impulse amplitude is 100)

FIG. 15 : Shown effectiveness evaluations on AWFM filters with noise ration=0

FIG. 15 ( a ): Lena,

FIG. 15 ( b ): medium filtered,

FIG. 15 ( c ): WFM filtered,

FIG. 15 ( d ): AWFM filtered,

FIG. 15 ( e ): Peppers,

FIG. 15 ( f ): medium filtered,

FIG. 15 ( g ): WFM filtered,

FIG. 15 ( h ): AWFM filtered

FIG. 16 : Shown effectiveness evaluations on AWFM filters

FIG. 16 ( a ): image “Lena” with noise ratio p=0.5

FIG. 16 ( b ): medium filtered,

FIG. 16 ( c ): WFM filtered,

FIG. 16 ( d ): AWFM filtered,

FIG. 16 ( e ): image “Peppers” with noise ratio p=0.5

FIG. 16 ( f ): medium filtered,

FIG. 16 ( g ): WFM filtered,

FIG. 16 ( h ): AWFM filtered

FIG. 17 : Shown, effectiveness evaluation on AWFM filters

FIG. 17 ( a ): image “Lena” with noise ratio p=1

FIG. 17 ( b ): medium filtered,

FIG. 17 ( c ): WFM filtered,

FIG. 17 ( d ): AWFM filtered,

FIG. 17 ( e ): image “Peppers” with noise ratio p=1,

FIG. 17 ( f ): medium filtered,

FIG. 17 ( g ): WFM filtered,

FIG. 17 ( h ): AWFM filtered

FIG. 18 : Shown testings on image “Baboon”

FIG. 18 ( a ): Gaussian impulse noise ratio p=0.2

FIG. 18 ( b ): average filtered

FIG. 18 ( c ): medium filtered

FIG. 18 ( d ): AWFM filtered

FIG. 19 : Shown testings on image “Baboon”

FIG. 19 ( a ): Gaussian impulse noise ratio p=1

FIG. 19 ( b ): average filtered

FIG. 19 ( c ): medium filtered

FIG. 19 ( d ): AWFM filtered

›REFERENCE NUMBER OF THE ATTACHED DRAWINGS

1 . . . WFM filter

3 . . . substractor

2,21 . . . fuzzy rules

22 . . . fuzzy detector

23 . . . dynamic selector

31 . . . MAX

312 . . . max 2

32,33 . . . DIV

311 . . . max 1

313 . . . max 3

314 . . . max 4

34 . . . LR(x)

35 . . . MIN

36 . . . cmirrorp

37 . . . cmirrorn 2

39 . . . mSUBx

36a. . . cmirrorp 2, P-type Metal Oxide Semiconductor current mirror with two outputs 55 . . . rull scale (255) current source

54,96 . . . Prioritized selection

4 . . . DFZ

40 . . . xSUBm

41 . . . Mul/Div

42 . . . Current copier, current mirror

5y . . . decision module (y WFM )

51 . . . rule module 1 for fuzzy set f 1

52 . . . rule module 2 for fuzzy set f 2

5e . . . rule module ES for fuzzy estimator

5m . . . rule module m for fuzzy set f m

81 . . . rule module 1 for fuzzy interval I_pos

82 rule module 1 for fuzzy interval I_neg

91 . . . I_unc

92 . . . I_und 1

93 . . . I_und 2

94 . . . I_pos

95 . . . I_neg

›DETAILED DESCRIPTIONS OF THE INVENTION · 1 of 4

Design of Adaptive AWFM Filters

AWFM filters are the extension of WFM filters reported by the inventors, C. S. Lee etc., in Int. J. Fuzzy Sets and Systems Vol. 89 (2) p157-180 (1997). Equipped with a fuzzy detector and a dynamic selection procedure, the WFM based AWFM filter can filter Gaussian impulse noises of any levels. In order to design a AWFM filter, first definitions of fuzzy signal space should be made:

Definition 6

A fuzzy signal space is the signal space divided by several fuzzy intervals. The intervals comprises fuzzy uncorrupted subspace, fuzzy positive subspace, fuzzy negative subspace, and fuzzy undecided subspace. These subspaces can be expressed by the following fuzzy intervals:

(1) definition of I_unc: I_unc = [ - 2 n - 3 , 2 n - 3 , 2 ⌊ n 2 ⌋ , 2 ⌊ n 2 ⌋ ] LR ( 7 )

(2) definition of I_pos: I_pos = [ ξ_pos , 2 n - 1 , 2 ⌊ n 2 ⌋ , 1 ] LR ( 8 )

(3) definition of I_neg: I_neg = [ - ( 2 n - 1 ) , - ξ_neg , 1 , 2 ⌊ n 2 ⌋ ] LR ( 9 )

(4) definition of I_und: I_und = [ 2 n - 3 + 1 , ξ_pos - 1 , 2 ⌊ n 2 ⌋ , 2 ⌊ n 2 ⌋ ] LR 

 or ( 10 ) I_und = [ - ξ_neg + 1 , - 2 n - 3 - 1 , 2 ⌊ n 2 ⌋ , 2 ⌊ n 2 ⌋ ] LR ( 11 )

where ξ_pos and ξ_neg are two constants obtained by the histogram of the image according to C. S. Lee in Proc. of Seven IFSA World Congress, Prague, vol2 p279-284 (1997).

Next, the fuzzy detector used'to estimate amplitudes is defined:

Definition 7

The fuzzy detector f D (·) is used to detect mean amplitude ξ of Gaussian Impulse noises in the polluted images. It is triggerd by the following fuzzy rules:

Rule d1: if Δ is I_pos then D 1 is f I — pos (Δ)

Rule d2: if Δ is I_neg then D 2 is f I — neg (Δ)

Rule d3: if D_ is AV then ξ is f AV (D)

where Δ=[δ(i, j) ]axb , and δ(i, j)=x(i, j)−y WFM (i, j); D=[d 1 , d 2 ] and d 1 , d 2 are defuzzification results of Rule d1 and Rule d2 respectively.

The dynamic selector determines the final filtered output according to the following rules, where μ I — unc (δ(i, j)), μ I — und (δ(i, j)), μ I — pos (δ(i, j)), and μ I — neg (δ(i, j)) are membership grades between δ(i, j) and I_unc, I_und, I_pos, and I_neg.

Rule s1: if

max(μ 1 — unc (δ( i, j )),μ 1 — und (δ( i, j )),μ 1 — pos (δ( i, j )),μ 1 — neg (δ( i, j )))=μ 1 — unc (δ( i, j )),

then the original input x(i, j) is selected as the final output.

Rule s2: if

max(μ 1 — unc (δ( i, j )),μ 1 13 und (δ( i, j )),μ 1 — pos (δ( i, j )),μ 1 — neg (δ( i, j )))=μ 1 — und (δ( i, j )),

then WFM output y(i, j) is selected as the final output.

Rule s3: if

max(μ 1 — unc (δ( i, j )),μ 1 — und (δ( i, j )),μ 1 — pos (δ( i, j )),μ 1 — neg (δ( i, j )))=μ 1 —pos (δ( i, j )),

then x(i, j)−ξ is selected as the final output.

Rule s4: if

max(μ 1 —unc (δ( i, j )),μ 1 — und (δ( i, j )),μ 1 —pos (δ( i, j )),μ 1 —neg (δ( i, j )))=μ 1 —neg (δ( i, j )),

then x(i, j)+ξ is selected as the final output.

Hardware Synthesis Method of AWFM Filter

1. Generic LR Fuzzy Cells

The inventors have proposed a hardware synthesis method in IEEE Trans. on Fuzzy Systems Vol.6 (2) p266-285. The following bounded difference (equation 12) and (equation 13) can be used to represent LR fuzzy set (equation 1) and fuzzy interval (equation 5): μ M  ( x ) = LR  ( m M     Θ     x α M + x     Θ     m M β M ) ( 12 ) μ l  ( x ) = LR  ( m ll     Θ     x α l + x     Θ     m lr β l ) ( 13 )

where LR(z)=L(z)=R(z) for all real z and Θ, a bounded difference operator, is defined by aΘb=max(a−b, 0) for any real a and b. According to the bounded difference equations, architecture of generic LR fuzzy implication cells can be described by the block diagrams in FIG. 2, including the substractor (SUB), the divider (DIV), LR(x), MAX and Minimum (MIN). In addition, (a) represents fuzzy sets with membership functions of single mode and (b) represents fuzzy intervals with mode intervals.

Hardaware synthesis of WFM filters comprises m+1 circuit modules. M moduleshave the same circuit architecture using nxn generic LR fuzzy cells with single mode membership grade and a defuzzification (DFZ) device. The other is the decision module (y WFM ) using m SUB circuits in current mode, a MAX circuit with multi-input and output for maximum value, and a priority selection circuit. Such a generic fuzzy cell represents an LR fuzzy set defined by parameters [m, α, β] LR or [ml, mr, α, β] LR . Different types of fuzzy rules can be synthesize by the generic fuzzy cells. The input/output pin settings of the generic fuzzy cells are explained:

(1) (α, m, β)/(α, ml, mr, β) parameters: input pins, which connect LR fuzzy set parameters of membership grade to generic cells (so that membership functions can be dynamically determined in run-time)

(2) x: input pin, which connects values of base variables to generic cells;

(3) vi: membership grade output from forward generic cells (not used in the present invention);

(4) μ (x): membership grade, or matching degree output

(5) h: height of the LR fuzzy set for the result membership grade (not used in the present invention).

FIG. 3 shows the detail circuits of the SUB and DIV blocks built by generic LR cells of membership grade. The P-type metal oxide semiconductor current mirror (cmirrorp) and N-type metal oxide semiconductor current mirror (cmirrom 2) are cascaded single output PMOS and cascaded PMOS/NMOS current mirror. Details of the analog current circuits are:

(A) the SUB block is responsible for bounded difference operations mΘx, (m 1 Θx), xΘm, (or xΘm r ). Calculations of difference are based on Kirchoff's current law and can be done by connecting m and x. Bound determination of the difference is done by the PMOS which is also the input of the current mirror in DIV.

(B) the DIV block is responsible for Iu/Is. To accomplish this, the squarer and the square-rooter should be serially connected (A is the constant current source). The squarer and the squarer-rooter are both designed according to Analysis and synthesis of MOS translinear circuits MOS translinear principle by R. J. Wiegerink in 1993. Ii denotes the current thru transistor Mi and ki denotes the transconductance of transistor Mi. For a squarer-rooter, when transistor M1 thru M4 are saturated, according to the characteristic function of transistors, one can obtain

›DETAILED DESCRIPTIONS OF THE INVENTION · 2 of 4

{square root over ( I 1 /k 1 )}+{square root over ( I 2 /k 2 )}={square root over ( I 3 /k 3 )}+{square root over ( I 4 /k 4 )}  (14)

With appropriate circuits which make I3=I4, I1=Iu, and I2=A while k3=k4=k5=2k2=2k1, output of the square-rooter, Isqrt, can be solved:

I sqrt =2 {square root over (A×I u )}   (15)

Similarly, the MOS translinear equation for a squarer can also be obtained:

{square root over ( I 6 /k 6 )}+{square root over ( I 7 /k 7 )}={square root over ( I 8 /k 8 )}+{square root over ( I 9 /k 9 )}  (16)

Hence, output of the DIV block, div, can be obtained if I6=I7=Is and k8=k9=k10=2k6=2k7: div = I sqrt 2 4  I s = ( 2  A × I u ) 2 4  I s = AI u I s ( 17 )

(C) LR(x) block is responsible for the triangular membership function of LR fuzzy sets. Definition of the membership function is LR(x)=AΘx. According to Kirchoffs current law, circuits for this block can be easily accomplished if constant current source A equals to the constant current source in the DIV block. According to the definition of LR(x), A represents the maximum membership grade and the maximum matching degree 1.

Because the MAX and MIN blocks are not used in the present invention, the MAX circuit is removed and the MIN circuit is replaced by a current mirror producing two equal outputs.

To accomplish equation (4) in [definition 1], the defizzification device is simplified as shown in FIG. 4 . This device performs normalized weighted summation on inputs, where Mul/Div block which is responsible for multiplication and dividing has the same circuit as in FIG. 3 ( b ). If input of the (i, j)th Mul/Div block is I s = ∑ k = 1 a  ∑ l = 1 b  μ M  ( u  ( k , l ) )   I u =μ M ( u ( i, j ))

I x =u ( i, j )

output of the Mul/Div block becomes ( Mul / Div ) i , j = u  ( i , j )     μ M  ( u  ( i , j ) ) ∑ k = 1 a  ∑ l = 1 b  μ M  ( u  ( k , l ) ) .

According to Kirchoffs current law, defuzzification v for “V is f M (U)” can be obtained by connecting the outputs of the axb Mul/Div blocks. Therefore, fuzzy rules in [definition 1] can form matrix f M (U) from axb generic fuzzy cells. And generate v in equation (4) by a defuzzification device.

2. Hardware Fabrication of AWFM Filters

AWFM filters synthesized by generic LR fuzzy cells are described, including: generic LR fuzzy cells defining membership grade, a knowledge base of fuzzy rules, which varies parameters in membership functions with information from histograms so that the WFM filter, the fuzzy detector, and the dynamic selector are adaptive weighted; a non-linear weighted fuzzy mean filter, which removes high density Gaussian impulse noise from images. Via a single epoch, weights of the filter are adapted according to a set of fuzzy rules, which are constructed by a proposed procedure. All the fuzzy rules in the knowledge base infer concurrently for input nature estimation and filter adaptation. Statistic analyses ensure that this AWFM filtering possesses robust and consistent performance even when images are thoroughly polluted.

(a) WFM:

AWFM filters have a WFM filter receiving external input and are coupled to fuzzy detectors, which are used for input evaluation and prefilterng.

As shown in FIG. 5 ( a ), the WFM filter consists of m+1 rule modules and a decision module. Four rule modules are utilized to accomplish Rule 1 thru Rule 4 in the present invention. The decision module accomplishing Rule 5 selects one output out of the m outputs, which is closest to the output of the fuzzy detector, as the final output of the WFM filter. Architecture of the rule modules are shown in FIG. 5 ( b ), where the block marked M consists generic fuzzy cells representing fuzzy set M. The rule modules can be applied to all fuzzy rules defined. by [definition 1]. Matching degree μ M (u (i, j))'s are generated by the generic fuzzy cells. Then the outputs are divided by a current mirror into two equal parts of which one part represents the output itself and the other is summed to obtain the total of matching degree.

Because closest_to_ES in Rule 5 is not a fuzzy set of LR type, the WFM filter needs an additional decision module to accomplish Rule 5. The WFM decision module circuit consists of a SUB circuit for absolute value, a multi-input and output MAX circuit, an a priority selection circuit, as shown in FIG. 5 ( c ). The decision module shown in FIG. 5 ( c ) selects the input, which is closest to the output of the fuzzy detector, as the final output of WFM. To accomplish this, the SUB block in FIG. 5 ( c ) calculates the absolute values of |y 1 −es|, |y 2 −es|, and |y m −esi. After the constant L-1 (the maximum of gray level) is substracted by the smallest absolute value, the MAX block can receive the largest input. This SUB is the same as the generic fuzzy cells while the MAX is modified from the generic fuzzy cells. The multi-input and output MAX circuit utilizes differential techniques so that the output voltage corresponding to the largest current input is the lowest. Coupled with the priority selection circuit, the MAX circuit guarantees the decision module has the only output, as shown in FIG. 6 .

FIG. 6 shows the modified MAX circuit with three inputs and outputs. Supposing the input current V B (B=1, 2, or 3) is the largest, it will build the largest drain to source voltage V dsB (with respect to M B ). When the potential difference between V dsB and V dsi (i=1, 2, or 3; but i doesn't equal to B) is more than 2  I ds7 k 7 ,

the current V B will be directed into the differential circuit Mi+3 built with M4 thru M7. This MB+3 has the largest gate voltage equal to V dsB . Consequently, only pin maxp (p=4−B) has low voltage which enables switch sp to select current yp as the WFM output. To ensure only one switch can be enable at a time, the circuit for priority selection and MAX circuit must work together. FIG. 7 shows the priority selection circuit.

Table 1 shows the truth table of the priority selection circuit, where w 1 thru W 3 represent the enable signal of s1 thru s3. Impossible configurations in the table have been grayed out. For current y 2 of fuzzy mean y MD has better chance to be the desired fuzzy mean, the priority follows y 2 −>y 1 −>y 3 (y MD − >y DK − >y BR ). Therefore enable signals in every switch can be expressed by:

›DETAILED DESCRIPTIONS OF THE INVENTION · 3 of 4

w 1 ={overscore (max 1 )}max 2 , w 2 ={overscore (max 2 )}, and w 3 =max 1 max 2

(b) Fuzzy Detector:

The fuzzy detector receives external input and couples the WFM filter and the dynamic selector in order to estimate amplitude of the noise at the centroid of a n×n sampling window by comparing the external input and the signal pre filtered by the WFM filter.

Because the fuzzy detector utilizes a set of fuzzy rules in the fuzzy interval to detect noise amplitude, hardware architecture in FIG. 5 ( b ) can also be used to accomplish the fuzzy rules defined by [definition 7]. Rule d3 can be simplified as a circuit mirror constructed by three transistors in FIG. 8, for it obtains the average between outputs from Rule d1 and Rule d2. On the other hand, the fuzzy detector utilizes two rule modules to accomplish Rule d1 and Rule d2.

(c) Dynamic Selector:

The dynamic selector couples the fuzzy detector and receives external input and the signal pre filtered by the WFM filter in order to determine the final output among the external input, the external input deducted by the positive noise amplitude detected by the fuzzy detector, the external input plus the absolute value of the negative noise amplitude detected by the fuzzy detector, and the signal pre filtered by the WFM filter.

Adaptation for the membership function of fuzzy rules in the fuzzy rule knowledge base can be carried out in difference ways; by a static knowledge base: adaptation is done with parameters in the standard reference image database and membership functions of the polluted image; by a dynamic knowledge base: adaptation is done with parameters in the standard reference image database as well as membership function of the polluted image is sent.

The dynamic selector basically consists of compactors for matching degree. Membership grade for the difference between the WFM output and the original input in each fuzzy interval can be obtained by generic fuzzy implication cells. The multi-input and output MAX circuit and the priority selection circuit use the membership grade to select the best AWFM output dynamically. FIG. 9 shows architecture of the dynamic selector, where x is the input of AWFM, y WFM is the output of WFM, ξ is the noise detected by the fuzzy detector. For fuzzy interval I_und is constructed by two independent convex fuzzy intervals, five generic fuzzy cells are necessary to accomplish the fuzzy intervals in Rule s1 thru s4. Expanding the three input MAX circuit in FIG. 6 to four input circuit, the MAX circuit select the largest among u I — unc ( 67 (i, j)), u 1 — und (δ(i, j)), u 1 — pos (δ(i, j)), and u 1 — neg (δ(i, j)). Supposing u B is the largest (B belongs to {I_unc, I_und, I_pos, I_neg}, its corresponding output in MAX has the lowest voltage and the priority selection circuit enables the corresponding switch. Because fuzzy interval I_und overlaps other intervals, high priority is reserved for y WFM by the priority selection circuit while x, x, x+ξ, and x−ξ share the same priority, as shown in table 2. Truth table for switch s1, s2, s3, and s4 as well as enable signal w1, w2, w3, and w4 is as followed:

w 1 ={overscore (max 1 )}max 2 , w 2 ={overscore (max 2 )}, w 3 =max 2 {overscore (max 3 )} and w 4 =max 2 {overscore (max 4 )}

3. Simulation Results

Comparing with filters based on sorting techniques (see L. Yin in IEEE Trans. Circuits Syst. II Vol. 43 (3) p157-192 (1996), J. Offen etc. in VLSI image processing, or Catherine Heimburger etc. in 1996 U.S. Pat. No. 5,490,094), the stability and effectiveness of WFM has been proved by C. S. Lee etc. in Int. J. Fuzzy Sets and SystemsVol 89 (2) p157-180 (1997). To further demonstrate effectiveness of the present invention, AWFM, WFM, and median filters are compared. Assuming a and b in. [definition 1], which defines the sampling window, take the value of 3; gray level of the image falls in [0, 255], which corresponds to the condition: n=8 in [definition 5]; original image is polluted by Gaussian impulse noise or additional impulse noise with ratio p, which means that the chance for each pixel to be polluted by both positive and negative impulse are p/2; the input, x, is a Bernoulli random variable, where x  ( i , j ) = { s  ( i , j ) ⊕ n  ( i , j ) , with     probability     p 2 s  ( i , j )  Θ     n  ( i , j ) , with     probability     p 2 s  ( i , j ) , with     probability     1 - p

This equation can also be applied to the color imaging system reported by C. S. Lee in Proc. of Seven IFSA World Congress , p279-284, Prague, (1997). Various polluted conditions are introduced to test the AWFM filter. The first experiment tests the ability of removing noise based on MAE and MSE. The results are shown in FIG. 10 ( a )˜( d ). The second experiment tests the effectiveness of the fuzzy detector, where the proposed detector is compared to conventional crisp weighted detector and the impulse amplitude for testing is 100. FIGS. 11, 12 , 13 , and 14 show the comparisons. It is shown that output of the fuzzy detector is closer to the real impulse amplitude and has higher stability.

The effectiveness is also evaluated visually. FIG. 15 and 17 show the polluted and the filtered images while FIG. 18 and FIG. 19 show the testing results for image “Baboon”, in which Gaussian impulse noise with zero mean=5 and random impulse noise with p=0.2 and 1.0 are mixed. It is obvious that the recoveries of AWFM filters is superior independent of the noise ratio. AWFM filters are shown to have better stability over conventional techniques. Table 3 summarizes the comparisons among filters of various types qualitatively.

4. Advantages and Functions

The present invention proposes a new type of AWFM filter with high stability. The filter is governed by fuzzy rules and can substantially remove Gaussian impulse noise from images with low, high s/n ratio, or even densely polluted. Besides, the AWFM filter in the present invention has the following advantages:

1. non-linear, adaptive, and time-variant;

›DETAILED DESCRIPTIONS OF THE INVENTION · 4 of 4

2. on-line self-adaptive accomplished by the forward fuzzy implication which can estimate features of the input with one adaptation,

3. high estimation efficiency due to concurrent fuzzy implication,

4. hardware fabrication simplicity for using similar fuzzy rule architecture,

5. images polluted in any conditions can be recovered due to the high stability,

As to hardware synthesis, AWFM filters shares the advantages of. generic LR fuzzy cells, including:

1. high speed: each fuzzy rule is inferred by fuzzy implication cells and each fuzzy implication cell can conduct 20,000,000 fuzzy implications per second,

2. superior noise immunity: all the transistors in the circuits are saturated when the input falls in the defined intervals,

3. small circuit and low circuit complexity: AWFM filters utilizes the same fuzzy implication cells so that simple circuit architecture is possible and hence the area is reduced while the density is increased.

›Tables in the description — 3
TABLE 1 — Enable
max 1max 2max 3W 1W 2W 3
000010
001010
010100
011100
100010
101010
110001
111000
TABLE 2 — Enable
max 1max 2max 3max 4W 1W 2W 3W 4
00110100
01111000
10010100
10100100
10110100
11010010
11100001
TABLE 3 — Conta
ArithmeticGeometricLpHarmonic
meanmeanMeanMeanWFMAWFMMedian
Short-tailedgoodgoodgoodgoodPoorpoorpoor
Additive noise
Median-tailedpoorpoorpoorpoorPoorgoodpoor
Additive noise
Long-tailedpoorpoorPoorpoorgoodgoodgood
Additive noise
Positive spikespoorpoorGoodgoodgoodgoodgood
Negative spikespoorpoorGoodgoodgoodgoodgood
Mixed spikespoorpoorPoorpoorgoodgoodgood

Claims as granted

15 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

8 codes
IPC · International Patent Classification
Section G — Physics
  • G06T5/20
  • G06T5/00
  • G06N7/04
USPC · US Patent Classification
706/1706/2706/3706/4706/5

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJul 1999Jan 2000Jul 2000Jan 2001Jul 2001Jan 2002Jul 2002Jan 2003USPTOApplicantNon-final rejectionResponse after non-final
USPTOApplicanthover for detail · click to open
Pendency
3.6 y
1,324 days filing → grant
Office actions
1
non-final + final
Responses
1
no RCE
Examiner
Wilbert L. Starks, Jr.
art unit 2121 · TC 2100
Citations: 9 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20002002200420062008201020122014201620182020Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock