CN101662577B - Device and method for filtering noise of image signals - Google Patents

Device and method for filtering noise of image signals Download PDF

Info

Publication number
CN101662577B
CN101662577B CN200810211161XA CN200810211161A CN101662577B CN 101662577 B CN101662577 B CN 101662577B CN 200810211161X A CN200810211161X A CN 200810211161XA CN 200810211161 A CN200810211161 A CN 200810211161A CN 101662577 B CN101662577 B CN 101662577B
Authority
CN
China
Prior art keywords
signal
order
noise
coupled
produce
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
CN200810211161XA
Other languages
Chinese (zh)
Other versions
CN101662577A (en
Inventor
林信一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Novatek Microelectronics Corp
Original Assignee
Novatek Microelectronics Corp
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 Novatek Microelectronics Corp filed Critical Novatek Microelectronics Corp
Priority to CN200810211161XA priority Critical patent/CN101662577B/en
Publication of CN101662577A publication Critical patent/CN101662577A/en
Application granted granted Critical
Publication of CN101662577B publication Critical patent/CN101662577B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Picture Signal Circuits (AREA)

Abstract

The invention provides a device and a method for filtering noise of image signals. The device for filtering noise of image signals comprises an analog-digital converter, a first filter and a second filter, wherein the analog-to-digital converter is used for receiving the image signals and carrying out analog-to-digital conversion on the image signals to generate digital signals; the first filter is used for receiving the digital signals and filtering a first noise part of the digital signals to generate a first signal; the second filter is coupled to the first filter and is used for receivingand filtering a second noise part of the first signal, the first noise part is sampling pulse noise, and the second noise part is linear pulse noise.

Description

The filtering noise of image signals apparatus and method
Technical field
The present invention relates to a kind of signal noise filtering device, particularly relate to a kind of can filtering sampling pulse noise (sample-based impulse noise) and the signal noise filtering device of line impulsive noise (line-based impulse noise).
Background technology
In general, the process that signal transmits in visual device or changes all can have some noises usually, for example impulsive noise (impulse noise).Yet these noises can cause signal to produce the phenomenon of distortion when transmitting or change, and then the image that makes visual device export also can be ensued the problem of distortion.
For the impulsive noise in the filtered signal, traditional mode has following two kinds usually, just utilizes the mode of pulverised (nullity) or restriction (limit).For instance, the mode of pulverised is when having impulsive noise in detecting signal, then directly this segment signal is reduced to zero, so that reduce the influence that impulsive noise is brought.In addition, the mode of restriction is when having impulsive noise in detecting signal, then this segment signal to be limited between a certain scope, so that the influence that restriction impulsive noise is brought.
Though with the effective impulsive noise in the filtered signal of above-mentioned mode.But, impulsive noise comprises short pulse noise and long pulse noise again, because the time that the long pulse noise is produced is longer, if the long pulse noise is carried out filtering with above-mentioned filtering mode, may make the characteristic of signal itself and then be changed (signal that just comprises the long pulse noise is and then by pulverised or restriction), and then produce the problem of distortion when causing the visual device image output.In addition, if these impulse noise effects during to the clock signal of relevant video image, if in the receiving terminal most impulsive noise of filtering effectively, the then whole visual device image entanglement seriously of exporting.
Summary of the invention
The invention provides a kind of filtering noise of image signals apparatus and method, the sampling pulse noise that is comprised in the filtering digital signal effectively (sample-based impulse noise) and line impulsive noise (line-based impulse noise) by this are so that promote the quality of digital signal.
The present invention proposes a kind of filtering noise of image signals device, comprises analog-digital converter, first filter and second filter.Analog-digital converter is used for receiving signal of video signal, and signal of video signal is carried out the analog digital conversion, to produce digital signal.First filter is in order to receiving digital signals, and first noise of filtering digital signal partly, to produce first signal.Second filter is coupled to first filter, in order to receive also second noise part of filtering first signal, wherein first noise partly is sampling pulse noise (sample-based impulse noise), and second noise partly is line impulsive noise (line-based impulse noise).
According to embodiments of the invention, the first above-mentioned filter produces compensating signal according to digital signal, and determines that according to the result who detects digital signal first signal is compensating signal or digital signal in order to detect digital signal to produce one first testing result.
According to embodiments of the invention, the second above-mentioned filter detects first signal, producing second testing result, and decides first output signal exported to be first signal that postpones or the median of first signal according to second testing result.
The present invention proposes a kind of signal noise filtering method, comprises the following steps: at first, receives a signal of video signal, and this signal of video signal is carried out the analog digital conversion, to produce a digital signal.Then, first noise of filtering digital signal part, and produce one first signal.Afterwards, second noise of filtering first signal partly, wherein first noise partly is the sampling pulse noise, second noise partly is a line impulsive noise, this this digital signal of first filter detection is to produce one first testing result, produce a compensating signal according to this digital signal, and determine this first signal for this compensating signal or this digital signal according to this first testing result, and this first filter comprises: one first delay cell, in order to receive this digital signal, in order to this delayed digital signal, and produce a secondary signal; One first noise detector is coupled to this first delay cell, in order to receiving this digital signal and this secondary signal, and this digital signal and this secondary signal is detected, to produce one first control signal; One first arithmetic element is coupled to this first noise detector, in order to receiving this first control signal and one second control signal, and this first control signal and this second control signal is carried out computing, to produce one the 3rd control signal; One selected cell is coupled to this first arithmetic element, in order to the state according to the 3rd control signal, and whether determines this second control signal of activation; One compensating unit is coupled to this first delay cell, in order to this secondary signal is compensated, to produce this compensating signal; And one first multiplexer, be coupled to this compensating unit and this first arithmetic element, and according to the state of the 3rd control signal, and select this digital signal or this compensating signal one of them as this first signal; Wherein the 3rd control signal is as this first testing result, and this selected cell comprises: one second multiplexer, be coupled to the output of this first arithmetic element, in order to receive one second preset value, a count value and the 3rd control signal, and according to the state of the 3rd control signal, select this second preset value and this count value one of them as an output valve; One accumulator is coupled to this second multiplexer, in order to this output valve is added up, to produce this count value; And one second comparator, be coupled to this second multiplexer, in order to receiving this output valve and one the 3rd preset value, and relatively this output valve and the 3rd preset value, and whether determine this second control signal of activation.
According to embodiments of the invention, first noise of above-mentioned filtering digital signal step partly comprises: at first, detect digital signal, to produce first testing result.Then, produce compensating signal according to digital signal.Afterwards, determine that according to detecting first testing result first signal is compensating signal or digital signal.
According to embodiments of the invention, second noise of this first signal of above-mentioned filtering step partly comprises: at first, first signal is detected, to produce second testing result.Afterwards, according to second testing result being decided first output signal of being exported be first signal of delay or the median of first signal.
The present invention is by first noise part (the sampling pulse noise in first filter and second filter difference filtering digital signal, sample-based impulse noise) and second noise partly (line impulsive noise, line-based impulse noise).Thus, can promote the quality of digital signal effectively, be sent to late-class circuit when doing follow-up signal processing, produce the problem of distortion to avoid having noise digital signal partly.
For above-mentioned feature and advantage of the present invention can be become apparent, embodiment cited below particularly, and be described with reference to the accompanying drawings as follows.
Description of drawings
Fig. 1 shows the calcspar of the visual device of one embodiment of the invention.
Fig. 2 shows the calcspar of an embodiment of short pulse noise filter 121 shown in Figure 1.
Fig. 3 shows the detailed circuit calcspar of short pulse noise filter 121 shown in Figure 2.
Fig. 4 shows the circuit block diagram of the long pulse noise filter 122 of one embodiment of the invention.
Fig. 5 shows the enforcement example of the filter 402 generation signal S7 of one embodiment of the invention.
Fig. 6 shows the calcspar of noise detector shown in Figure 4 408.
Fig. 7 shows the flow chart of the signal noise filtering method of one embodiment of the invention.
The reference numeral explanation
100: visual device
110: analog-digital converter
120: the signal noise filtering device
121: the short pulse noise filter
122: the long pulse noise filter
130: the video signal data decoder
140: the synchronous sequence decoder
DS: digital signal
OS1, OS2: output signal
210,316,404,410,412: delay cell
220,408: noise detector
230,302,318,320,418: arithmetic element
240: selected cell
250: compensating unit
260,308,322,414,416: multiplexer
S1~S13: signal
CS1~CS3: control signal
CS: compensating signal
300: difference calculator
304,420,630: the absolute value generator
306,312,660: comparator
310: accumulator
402: filter
406: the difference value generator
422,670: low pass filter
510_1~510_75: delayer
DS1~DS75: inhibit signal
520_1~520_15: first order medial filter
530_1~530_30_3: second level medial filter
540: third level medial filter
T1~T15, U1~U3: median
610: averaging unit
620: subtracter
640: multiplier
650: adder
PS1~PS8: preset value
AS: mean value
S701~S703: each step of the signal noise filtering method of the embodiment of the invention
Embodiment
Fig. 1 shows the calcspar of the visual device of one embodiment of the invention.Please refer to Fig. 1, visual device 100 comprises analog-digital converter 110, signal noise filtering device 120, video signal data decoder 130 and synchronous sequence decoder 140.Analog-digital converter 110 is in order to receiving an analog signal (for example analog video signal or analog radio-frequency signal), and is a digital signal DS with analog signal conversion.
Signal noise filtering device 120 is coupled to analog-digital converter 110, and comprises short pulse noise filter 121 and long pulse noise filter 122.Short pulse noise filter 121 is in order to receiving digital signals DS, and first noise of filtering digital signal DS partly, to produce signal S1.Long pulse noise filter 122 is coupled to short pulse noise filter 121, in order to receive also second noise part of filtered signal S1.In the present embodiment, first noise partly is sampling pulse noise (sample-basedimpulse noise), just so-called short pulse noise (short impulse noise).And second noise partly is line impulsive noise (line-based impulse noise), just so-called long pulse noise (long impulse noise).
Are first noise part and second noise parts of how distinguishing among the filtering digital signal DS in order to make those skilled in the art further understand short pulse noise filter 121 with long pulse noise filter 122, below, will describe at short pulse noise filter 121 and long pulse noise filter 122 respectively.
Fig. 2 shows the calcspar of an embodiment of short pulse noise filter 121 shown in Figure 1.Please refer to Fig. 2, short pulse noise filter 121 comprises delay cell 210, noise detector 220, arithmetic element 230, selected cell 240, compensating unit 250 and multiplexer 260.
Delay cell 210 is in order to receiving digital signals DS, in order to digital signal DS is postponed, and produces signal S2 (just previous digital signal).Noise detector 220 is coupled to delay cell 210, in order to receiving digital signals DS and signal S2, and digital signal DS and signal S2 is detected, to produce control signal CS1.That is to say, when if digital signal DS and signal S2 are variant, that is there is noise partly among the digital signal DS, then activation (assert) control signal CS1, if when digital signal DS and signal S2 indifference, that is do not have noise partly among the digital signal DS, forbidden energy (de-assert) control signal CS1 then.
Arithmetic element 230 is coupled to noise detector 220, in order to receiving control signal CS1 and CS2, and control signal CS1 and CS2 is carried out computing, with generation control signal CS3.In the present embodiment, arithmetic element 230 can for door, and its function mode for example is: when control signal CS1 and CS2 were enabled simultaneously, arithmetic element 230 just can activation control signal CS3.As control signal CS1 and CS2 simultaneously by forbidden energy or control signal CS1 is enabled by forbidden energy and control signal CS2, again or control signal CS1 is enabled and the second control CS2 by forbidden energy, arithmetic element 230 is understood forbidden energy control signal CS3.
Please continue with reference to Fig. 2, selected cell 240 is coupled to arithmetic element 230, in order to the state of foundation control signal CS3, and determines whether activation control signal CS2.Compensating unit 250 is coupled to delay cell 210, in order to signal S2 is compensated, to produce compensating signal CS.In present embodiment, the function of selected cell 240 is to set an interval (window), so that short pulse noise filter 121 can be carried out filtering (signal compensation) function between this given zone.
Multiplexer 260 is coupled to compensating unit 250 and arithmetic element 230, and according to the state of control signal CS3, and select digital signal DS or compensating signal CS one of them as signal S1.For instance, when control signal CS3 is enabled (at this moment, do not detect the sampling pulse noise is arranged among the digital signal DS), then multiplexer 260 can select digital signal DS as signal S1, when control signal CS3 during by forbidden energy (at this moment, detect the sampling pulse noise arranged among the digital signal DS), then multiplexer 260 can select compensating signal CS as signal S1.By aforesaid running as can be known,, can compensate, and send signal CS after the compensation by the compensating unit 250 of inside if when short pulse noise filter 121 detects digital signal DS and has the sampling pulse noise; On the other hand, when if short pulse noise filter 121 detects digital signal DS and there is no sampling noise, short pulse noise filter 121 is output (bypass) received digital signal DS directly, to avoid that digital signal DS is carried out incorrect signal compensation.
Fig. 3 shows the detailed circuit calcspar of short pulse noise filter 121 shown in Figure 2.Please refer to Fig. 3, noise detector 220 comprises difference calculator 300 and comparator 306.Difference calculator 300 is coupled to delay cell 210, and in order to receiving digital signals DS and signal S2, and digital signal DS and signal S2 is carried out difference calculate, to produce variation.That is to say, can learn whether the sampling pulse noise is arranged among the digital signal DS by the variation that difference calculator 300 is produced.In present embodiment, difference calculator 300 also comprises arithmetic element 302 and absolute value generator 304.Arithmetic element 302 is coupled to delay cell 210, in order to receiving digital signals DS and signal S2, and digital signal DS and signal S2 is carried out computing, to produce signal S3.In the present embodiment, arithmetic element 302 is a subtracter, in order to carry out the computing of digital signal DS subtraction signal S2, to produce signal S3.
Absolute value generator 304 is coupled to arithmetic element 302, in order to signal S3 is taken absolute value, to produce variation.Comparator 306 is coupled to absolute value generator 304, in order to reception and comparison variation and preset value PS1, and produces control signal CS1.For instance, when variation during greater than preset value PS1, comparator 306 can activation control signal CS1, and when variation during less than preset value PS1, comparator 306 can forbidden energy control signal CS1.In the present embodiment, preset value PS1 can adjust voluntarily according to user's demand of looking.
Please continue with reference to Fig. 3, selected cell 240 comprises multiplexer 308, accumulator 310 and comparator 312.As previously mentioned, the function of selected cell 240 is to set an interval (window), so that short pulse noise filter 121 can be carried out filtering (signal compensation) function between this given zone.
Wherein, accumulator 310 is coupled to multiplexer 308, in order to output valve is added up, to produce count value.In the present embodiment, accumulator 310 is to utilize the mode that goes up number that input value is added up.
Multiplexer 308 is coupled to the output of arithmetic element 230, in order to receiving preset value PS2, count value and control signal CS3, and according to the state of control signal CS3, and selection preset value PS2 and count value one of them as output valve.For instance, as control signal CS3 during by forbidden energy, multiplexer 308 can select preset value PS2 as output valve, and when control signal CS3 was enabled, multiplexer 308 can select count values as output valve.In the present embodiment, preset value PS2 can adjust voluntarily according to user's demand of looking.
Comparator 312 is coupled to buffer 314, in order to reception output valve and preset value PS3, and compares output valve and preset value PS3, and determines whether activation control signal CS2.For instance, when output valve during less than preset value PS3, comparator 312 can activation control signal CS2, and when output valve during greater than preset value PS3, comparator 312 can forbidden energy control signal CS2.In the present embodiment, preset value PS3 can adjust voluntarily according to user's demand of looking, and by during adjusting preset value PS3 and can controlling the activation of control signal CS2.
Note that at this preset value PS3 is used for setting aforesaid interval (window).PS2 is 0 at this hypothesis preset value, and preset value PS3 is 5, and this running interval of representing short pulse noise filter 121 is 5 digital signal DS (its corresponding five pixels).
Please inspect Fig. 3 again at this, when short pulse noise filter 121 was initial, control signal CS2 was 0, so control signal CS2 can select preset value PS2 (being assumed to be 0) by multiplexer 308, and it is passed to comparator 312 compared.This moment is because the numerical value of preset value PS3 is bigger, so control signal CS2 just can be 1.
Such initial condition will begin to change after control signal CS1 becomes 1.As previously mentioned, on behalf of noise detector 220, control signal CS1 1 detect the generation of short pulse noise; Therefore, control signal CS3 also becomes 1, at this moment, and the count value that control signal CS3 just can select accumulator 310 to be exported.And along with count value is come more height more, when arriving preset value PS3=5, control signal CS2 becomes 0, is 0 and make control signal CS3, thereby stops the signal compensation of short pulse noise filter 121, and also resets (reset) selected cell 240.
Note that as previously mentioned that at this function of selected cell 240 is to set between a given zone, and the purpose of setting between this given zone is to make short pulse noise filter 121 to carry out filtering at the short pulse noise; That is, owing to set (specific line segment length) between a given zone, aforesaid five pixels for example, short pulse noise filter 121 just only can carry out filtering operation at these five pixels so, with the short pulse noise filtering.
Please continue with reference to Fig. 3, compensating unit 250 comprises delay cell 316, arithmetic element 318,320 and multiplexer 322.Delay cell 316 is coupled to delay cell 210, in order to received signal S2, and signal S2 postponed and produces signal S4.
Arithmetic element 318 is coupled to delay cell 210 and 316, in order to signal S2 and signal S4 are carried out computing, to produce signal S5.In the present embodiment, arithmetic element 318 is an adder, that is to say, arithmetic element 318 can be carried out the computing of addition to signal S2 and signal S4, to produce signal S5.
Arithmetic element 320 is coupled to arithmetic element 318, in order to signal S5 and preset value PS4 are carried out computing, to produce signal S6.In the present embodiment, arithmetic element 320 is a multiplier, that is to say, arithmetic element 320 can be carried out the computing of multiplication with signal S5 and preset value PS4, to produce signal S6.In addition, preset value PS4 can adjust voluntarily according to user's demand of looking.In present embodiment, preset value PS4 is 0.5, so that signal S6 is the mean value of preceding two digital signals.
Multiplexer 322 is coupled to delay cell 210 and arithmetic element 320, and according to the state of preset value PS5, and selects one of them signal CS by way of compensation of signal S2 or signal S6.For instance, when preset value PS5 was enabled, multiplexer 322 can be selected signal S2 signal CS by way of compensation, and as preset value PS5 during by forbidden energy, multiplexer 322 can be selected signal S6 signal CS by way of compensation.In the present embodiment, preset value PS5 can set up on their own according to user's demand of looking.
Fig. 4 shows the circuit block diagram of the long pulse noise filter 122 of one embodiment of the invention.Please refer to Fig. 4, long pulse noise filter 122 comprise filter 402, delay cell 404,410,412, difference value generator 406, noise detector 408, with multiplexer 414.
Filter 402 is in order to received signal S1, and signal S1 carried out filtering, to produce signal S7, its median filter 402 is median filter (median filter), this median filter is the filtering that is used for carrying out the long pulse noise, that is when itself having the long pulse noise as if signal S1, the median filter just can be with this long pulse noise filtering so.
Delay cell 404 is in order to received signal S1, and signal S1 is postponed, to produce signal S8.Difference value generator 406 is coupled to filter 402 and delay cell 404, in order to received signal S7 and S8, and signal S7 and S8 is carried out computing, to produce first difference value.
Noise detector 408 is coupled to difference value generator 406, in order to first difference value is detected, and produces testing result.Delay cell 410 is coupled to filter 402, in order to receive and inhibit signal S7, to produce signal S9 (median of signal S1 just).Delay cell 412 is coupled to delay cell 404, in order to receive and inhibit signal S8, to produce signal S10 (the signal S1 of Yan Chiing just).
Multiplexer 414 is coupled to delay cell 410,412 and noise detector 408, and according to testing result, and select signal S9 and S10 one of them as output signal OS1.For instance, when testing result is enabled (at this moment, detect wired impulsive noise among the signal S1), multiplexer 414 can select the signal S9 of filtering line impulsive noise as output signal OS1, when testing result during by forbidden energy (at this moment, detect not wired impulsive noise among the signal S1), multiplexer 414 can be selected not pass through the signal S10 of signal processing as output signal OS1.
In addition, long pulse noise filter 122 also comprises multiplexer 416.Multiplexer 416 is coupled to multiplexer 414 and delay cell 412, in order to foundation preset value PS6, and select signal S10 and output signal OS1 one of them as output signal OS2.In the present embodiment, preset value PS6 can adjust voluntarily according to user's demand of looking.
In addition, output signal OS1 shown in Figure 4 is the synchronous sequence decoder 140 that is sent to Fig. 1, so that video signal data decoder 130 and the sequential foundation of late-class circuit (not illustrating) as the processing video signal data to be provided.Output signal OS2 shown in Figure 4 can be sent to the video signal data decoder 130 of Fig. 1, video signal data is offered video signal data decoder 130 and late-class circuit (not illustrating).
Difference value generator 406 comprises arithmetic element 418 and absolute value generator 420.Arithmetic element 418 is in order to carry out computing to signal S7 and S8, to produce first operation result.In the present embodiment, arithmetic element 418 is a subtracter, that is to say, arithmetic element 418 can be carried out the computing of signal S7 subtraction signal S8, to produce first operation result.Absolute value generator 420 is in order to take absolute value first operation result, to produce first difference value.
In addition, difference value generator 406 also comprises low pass filter 422.Low pass filter 422 is coupled between absolute value generator 420 and the noise detector 408, in order to average several first difference value.
By as can be known aforementioned, long pulse noise filter 122 can detect signal S1, and deciding the output signal OS1 that exported to be the signal S1 that postpones or the median of signal S1 according to the result that signal S1 is detected, second noise of using filtered signal S1 is (line impulsive noise) partly.In addition, in this embodiment, it is output signal OS1 or signal S1 that long pulse noise filter 122 decides output signal OS2 according to preset value (as the preset value PS6 of Fig. 4) in addition.
Can be sent to synchronous sequence decoder 140 at this output signal OS1 that note that long pulse noise filter 122 is produced, and output signal OS2 can be sent to video signal data decoder 130.Make the action that video signal data decoder 130 can be decoded to output signal OS2, producing needed image data, and the action that synchronous sequence decoder 140 can be decoded to output signal OS1, to produce needed clock signal.Because the noise among the digital signal DS has partly carried out filtering in signal noise filtering device 120, thus, can promote the quality of digital signal DS effectively, avoiding digital signal DS to be subjected to the interference of impulsive noise, and the image that causes visual device 100 to be exported produces distortion phenomenon.
What note that output signal OS1 representative at this is clock signal, if clock signal is separated mistake, the mistake that the mistake that video pictures produced can produce when separating wrong image data is also come seriously.Though the video signal data decoder 130 in the embodiment of the invention is to receive the output signal OS2 that long pulse noise filter 122 is exported, this embodiment is not in order to limit the present invention.In actual applications, long pulse noise filter 122 can only produce output signal OS1, and the clock signal that digital signal DS that video signal data decoder 130 direct reception digital analog converters 110 are exported and synchronous sequence decoder 140 are exported, so corresponding variation also belongs to category of the present invention.
Below, illustrate with lifting an example how filter 402 produces the mode of signal S7, but therefore do not limit to form of the present invention.Fig. 5 shows the enforcement example of the filter 402 generation signal S7 of one embodiment of the invention.Please refer to Fig. 5, at first, suppose that filter 402 comprises (middle) filter in the middle of three grades (three stage), and filter 402 received signal S1 can postpone through 75 delayer 510_1~510_75, to produce 75 inhibit signal DS1~DS75 respectively.Afterwards, inhibit signal DS1~DS75 is orderly sent among 15 first order medial filter 520_1~520_15, and order for example is sent to the 1st first order medial filter 520_1 for inhibit signal DS1, inhibit signal DS2 is sent to the 2nd first order medial filter 520_2, ..., inhibit signal DS15 is sent to the 15th first order medial filter 520_15, inhibit signal DS16 then is sent to the 1st first order medial filter 520_1, inhibit signal DS17 is sent to the 2nd first order medial filter 520_2, ..., inhibit signal DS30 then is sent to the 15th first order medial filter 520_15, ..., inhibit signal DS75 then is sent to the 15th first order medial filter 520_15.
Then, first order medial filter 520_1~520_15 can carry out the acquisition of median to its received inhibit signal DS1~DS75 respectively, and produces 15 different median T1~T15.Then, median T1~T15 is orderly sent to 3 second level medial filter 530_1~30_3, and order for median T1 be sent to the 1st second level medial filter 530_1, median T2 be sent to the 2nd second level medial filter 530_2, median T3 be sent to the 3rd second level medial filter 530_3, median T4 then be sent to the 1st second level medial filter 530_1 ..., median T6 then be sent to the 3rd second level medial filter 530_3 ..., median T15 then is sent to the 3rd second level medial filter 530_3.Afterwards, second level medial filter 530_1~530_3 can carry out the acquisition of median to its received median T1~T15 respectively, and produces 3 different median U1~U3.
At last, median U1~U3 is sent to third level medial filter 540, and third level medial filter 540 can carry out the acquisition of median to median U1~U3, with produce output result, the 7th signal S7 just shown in Figure 4.Carry out the calculating of median by filter 402, second noise among the filtered signal S1 partly (line impulsive noise) effectively, thus, can produce distortion with the image of avoiding visual device 100 to be exported so that the signal of output signal OS1 is more accurate.
Fig. 6 shows the calcspar of noise detector shown in Figure 4 408.Please refer to Fig. 4, noise detector 408 comprises averaging unit 610, subtracter 620, absolute value generator 630, multiplier 640, adder 650 and comparator 660.
Averaging unit 610 is in order to receiving first difference value, and first difference value is averaged, to produce mean value AS.Subtracter 620 is in order to receive first difference value and mean value AS, in order to first difference value and mean value AS are carried out subtraction, to obtain second operation result.Absolute value generator 630 is coupled to subtracter 620, in order to second operation result is taken absolute value, to produce second difference value.
Low pass filter 670 is coupled to absolute value generator 630, in order to several second difference value are averaged, to produce a signal S12.Multiplier 640 is coupled to low pass filter 670, in order to signal S12 and preset value PS7 are carried out multiplying, to produce signal S13.
And mean value AS and preset value PS8 that adder 650 is thereafter then exported signal S13, averaging unit 610 carry out add operation, to produce signal S11.
Note that at this preset value PS7 and PS8 can set up on their own according to user's demand of looking.In other words, signal S11 is the dynamic threshold (dynamic threshold) that a user orders certainly, and its numerical values recited is to get by the setting of each parameter (aforesaid PS7, PS8); And low pass filter 670, multiplier 640, adder 650 can be considered a dynamic threshold generator.
At last, comparator 660 is second difference value and dynamic threshold S11 relatively, to produce testing result.For instance, when second difference value during greater than dynamic threshold S11, comparator 660 can the activation testing results, to represent wired impulsive noise.When second difference value during less than dynamic threshold S11, comparator 660 can the forbidden energy testing results.
By the explanation of the foregoing description, can summarize a kind of signal noise filtering method.Fig. 7 shows the flow chart of the signal noise filtering method of one embodiment of the invention.Please refer to Fig. 7, at first, in step S701, receive signal of video signal, and signal of video signal is carried out the analog digital conversion, to produce digital signal.Then, in step S702, first noise of filtering digital signal part, and produce first signal.In this step S702, first noise of filtering digital signal mode partly is: at first, detect digital signal, to produce one first testing result.Then, produce compensating signal according to digital signal.Afterwards, determine that according to first testing result first signal is compensating signal or digital signal.
Afterwards, in step S703, second noise of filtering first signal part, wherein first noise partly is the sampling pulse noise, second noise partly is a line impulsive noise.In this step S703, second noise of filtering first signal mode partly is: at first, first signal is detected, to produce one second testing result.Then, according to second testing result being decided first output signal of being exported be first signal of delay or the median of first signal.
In sum, the present invention is by first noise part (the sampling pulse noise in first filter and second filter difference filtering digital signal, sample-based impulse noise) and second noise partly (line impulsive noise, line-based impulse noise).Thus, can promote the quality of digital signal effectively, be sent to late-class circuit when doing follow-up signal processing, produce the problem of distortion to avoid having noise digital signal partly.
Though the present invention discloses as above with embodiment; right its is not in order to limit the present invention; those skilled in the art can do some changes and retouching under the premise without departing from the spirit and scope of the present invention, so protection scope of the present invention is as the criterion with the application's claim.

Claims (17)

1. filtering noise of image signals device comprises:
One analog-digital converter is used for receiving a signal of video signal, and this signal of video signal is carried out the analog digital conversion, to produce a digital signal;
One first filter, in order to receiving this digital signal, and one first noise of this digital signal of filtering is partly, to produce one first signal; And
One second filter is coupled to this first filter, in order to receive the also one second noise part of this first signal of filtering;
Wherein this first noise partly is a sampling pulse noise, this second noise partly is a line impulsive noise, this this digital signal of first filter detection is to produce one first testing result, produce a compensating signal according to this digital signal, and determine this first signal for this compensating signal or this digital signal according to this first testing result, and this first filter comprises:
One first delay cell in order to receiving this digital signal, in order to this delayed digital signal, and produces a secondary signal;
One first noise detector is coupled to this first delay cell, in order to receiving this digital signal and this secondary signal, and this digital signal and this secondary signal is detected, to produce one first control signal;
One first arithmetic element is coupled to this first noise detector, in order to receiving this first control signal and one second control signal, and this first control signal and this second control signal is carried out computing, to produce one the 3rd control signal;
One selected cell is coupled to this first arithmetic element, in order to the state according to the 3rd control signal, and whether determines this second control signal of activation;
One compensating unit is coupled to this first delay cell, in order to this secondary signal is compensated, to produce this compensating signal; And
One first multiplexer is coupled to this compensating unit and this first arithmetic element, and according to the state of the 3rd control signal, and select this digital signal or this compensating signal one of them as this first signal;
Wherein the 3rd control signal is as this first testing result, and this selected cell comprises:
One second multiplexer, be coupled to the output of this first arithmetic element, in order to receiving one second preset value, a count value and the 3rd control signal, and according to the state of the 3rd control signal, select this second preset value and this count value one of them as an output valve;
One accumulator is coupled to this second multiplexer, in order to this output valve is added up, to produce this count value; And
One second comparator is coupled to this second multiplexer, in order to receiving this output valve and one the 3rd preset value, and relatively this output valve and the 3rd preset value, and whether determines this second control signal of activation.
2. filtering noise of image signals device as claimed in claim 1, wherein this first noise detector comprises:
One difference calculator is coupled to this first delay cell, in order to receiving this digital signal and this secondary signal, and this digital signal and this secondary signal is carried out a difference calculate, to produce a variation; And
One first comparator is coupled to this difference calculator, in order to receiving and relatively this variation and one first preset value, and produces this first control signal.
3. filtering noise of image signals device as claimed in claim 2, wherein this difference calculator comprises:
One second arithmetic element is coupled to this first delay cell, in order to receiving this digital signal and this secondary signal, and this digital signal and this secondary signal is carried out computing, to produce one the 3rd signal; And
One first absolute value generator is coupled to this second arithmetic element, in order to the 3rd signal is taken absolute value, to produce a variation.
4. filtering noise of image signals device as claimed in claim 3, wherein this second arithmetic element is a subtracter.
5. filtering noise of image signals device as claimed in claim 1, wherein this selected cell can be set an interval, so that this first filter is carried out filtering in this interval.
6. filtering noise of image signals device as claimed in claim 1, wherein this selected cell also comprises:
One buffer is coupled between this second multiplexer and this second comparator, this output valve of exporting in order to this second multiplexer of bolt-lock.
7. filtering noise of image signals device as claimed in claim 1, wherein this compensating unit comprises:
One second delay cell is coupled to this first delay cell, in order to receiving this secondary signal, and this secondary signal postponed and produces one the 4th signal;
One the 3rd arithmetic element is coupled to this first delay cell and this second delay cell, in order to this secondary signal and the 4th signal are carried out computing, to produce one the 5th signal;
One the 4th arithmetic element is coupled to the 3rd arithmetic element, in order to the 5th signal and one the 4th preset value are carried out computing, to produce one the 6th signal; And
One the 3rd multiplexer is coupled to this first delay cell and the 4th arithmetic element, and according to the state of one the 5th preset value, and select this secondary signal or the 6th signal one of them as this compensating signal.
8. filtering noise of image signals device as claimed in claim 7, wherein the 3rd arithmetic element is an adder, and the 4th arithmetic element is a multiplier.
9. filtering noise of image signals device as claimed in claim 1, wherein this first arithmetic element be one with the door.
10. filtering noise of image signals device as claimed in claim 1, wherein this second filter detects this first signal, producing one second testing result, and decide one first output signal exported to be this first signal that postpones or the median of this first signal according to this second testing result.
11. filtering noise of image signals device as claimed in claim 10, wherein this second filter comprises:
One the 3rd filter in order to receiving this first signal, and carries out filtering to this first signal, and to produce one the 7th signal, wherein the 3rd filter is a median filter;
One the 3rd delay cell, in order to receiving this first signal, and with this first signal delay, to produce one the 8th signal;
One difference value generator is coupled to the 3rd filter and the 3rd delay cell, in order to receiving the 7th signal and the 8th signal, and the 7th signal and the 8th signal is carried out computing, to produce one first difference value;
One second noise detector is coupled to this difference value generator, in order to this first difference value is detected, and produces a testing result;
One the 4th delay cell is coupled to the 3rd filter, in order to receive and to postpone the 7th signal, to produce one the 9th signal;
One the 5th delay cell is coupled to the 3rd delay cell, in order to receive and to postpone the 8th signal, to produce 1 the tenth signal; And
One the 4th multiplexer is coupled to the 4th delay cell, the 5th delay cell and this second noise detector, and according to this testing result, and select the 9th signal and the tenth signal one of them as this first output signal.
12. filtering noise of image signals device as claimed in claim 11, wherein this second filter also comprises:
One the 5th multiplexer is coupled to the 4th multiplexer and the 5th delay cell, in order to according to one the 6th preset value, select the tenth signal and this first output signal one of them as one second output signal.
13. filtering noise of image signals device as claimed in claim 11, wherein this difference value generator comprises:
One the 5th arithmetic element is in order to carry out computing to the 7th signal and the 8th signal, to produce one first operation result; And
One second absolute value generator is in order to take absolute value this first operation result, to produce this first difference value.
14. filtering noise of image signals device as claimed in claim 13, wherein the 5th arithmetic element is a subtracter.
15. filtering noise of image signals device as claimed in claim 13 also comprises:
One first low pass filter is coupled between this second absolute value generator and this second noise detector, in order to average this first difference value.
16. filtering noise of image signals device as claimed in claim 11, wherein this second noise detector comprises:
One averaging unit in order to receiving this first difference value, and averages this first difference value, to produce a mean value;
One subtracter is in order to receive this first difference value and this mean value, in order to this first difference value and this mean value are carried out subtraction, to obtain one second operation result;
One the 3rd absolute value generator is coupled to this subtracter, in order to this second operation result is taken absolute value, to produce one second difference value;
One dynamic threshold generator is coupled to this three absolute values generator, in order to this second difference value is handled, to produce 1 the 11 signal; And
One the 3rd comparator is coupled to the 3rd absolute value generator and this dynamic threshold generator, in order to relatively this second difference value and the 11 signal, to produce this testing result.
17. filtering noise of image signals device as claimed in claim 16, wherein this dynamic threshold generator comprises:
One second low pass filter is coupled to the 3rd absolute value generator, in order to this second difference value is averaged, to produce 1 the tenth binary signal;
One multiplier is coupled to this second low pass filter, in order to the tenth binary signal and one the 7th preset value are carried out multiplying, to produce 1 the 13 signal; And
One adder is coupled to this multiplier, carries out add operation in order to this mean value with the 13 signal, one the 8th preset value and this averaging unit, to produce the 11 signal.
CN200810211161XA 2008-08-28 2008-08-28 Device and method for filtering noise of image signals Expired - Fee Related CN101662577B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810211161XA CN101662577B (en) 2008-08-28 2008-08-28 Device and method for filtering noise of image signals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810211161XA CN101662577B (en) 2008-08-28 2008-08-28 Device and method for filtering noise of image signals

Publications (2)

Publication Number Publication Date
CN101662577A CN101662577A (en) 2010-03-03
CN101662577B true CN101662577B (en) 2011-06-29

Family

ID=41790332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810211161XA Expired - Fee Related CN101662577B (en) 2008-08-28 2008-08-28 Device and method for filtering noise of image signals

Country Status (1)

Country Link
CN (1) CN101662577B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI717659B (en) * 2018-11-20 2021-02-01 新唐科技股份有限公司 Signal processing system and method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699126A (en) * 1994-09-10 1997-12-16 Lg Electronics, Inc. Picture definition apparatus for video display equipment
CN1812488A (en) * 2004-12-20 2006-08-02 三星电子株式会社 Digital video processing systems and methods for estimating horizontal sync in digital video signals
CN101127921A (en) * 2006-08-15 2008-02-20 联咏科技股份有限公司 Self-adapted video processing device and method
TW200816785A (en) * 2006-09-28 2008-04-01 Novatek Microelectronics Corp Noise process method and device thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5699126A (en) * 1994-09-10 1997-12-16 Lg Electronics, Inc. Picture definition apparatus for video display equipment
CN1812488A (en) * 2004-12-20 2006-08-02 三星电子株式会社 Digital video processing systems and methods for estimating horizontal sync in digital video signals
CN101127921A (en) * 2006-08-15 2008-02-20 联咏科技股份有限公司 Self-adapted video processing device and method
TW200816785A (en) * 2006-09-28 2008-04-01 Novatek Microelectronics Corp Noise process method and device thereof

Also Published As

Publication number Publication date
CN101662577A (en) 2010-03-03

Similar Documents

Publication Publication Date Title
CN104539263A (en) Reconfigurable low-power dissipation digital FIR filter
CN101929859B (en) Image full-frame scanning based space debris detecting method
CN111786865B (en) Data processing method and equipment
CN101399930B (en) Method for intelligently channel scanning and related apparatus
CN101458675A (en) Frequency synchronizing apparatus and method of general-purpose sequence bus
CN102811320B (en) Black rank compensating circuit, image sensor and correlation technique
CN101662577B (en) Device and method for filtering noise of image signals
CN104267834A (en) Air mouse system and control method thereof
CN105391924A (en) Data processing method and terminal
CN103684458A (en) Analog-digital converter protective circuit, digital power supply, method and module for processing digital signals and method for protecting circuit
US7061281B2 (en) Methods and devices for obtaining sampling clocks
WO2020181404A1 (en) Touch chip, touch detection method, touch detection system and electronic device
US20200351457A1 (en) Optical sensor and image sensing method
CN106160735B (en) readout system
CN108595375B (en) Filtering method, filtering device and storage medium
CN105376041A (en) Start-stop synchronous type serial data acquisition device and start-stop synchronous type serial data acquisition method
CN112305296B (en) Current detection method and device of DC-DC converter
TWI387320B (en) Apparatus and method for filtering image signal noise
US9264277B2 (en) Apparatus and method for detecting null symbols
CN104764468B (en) Conversion rate detection circuit
CN103489149A (en) Image acquisition method and electronic equipment
CN102215321B (en) Mobile detection method and device
CN103528695A (en) Sampling single-photon detector and self-adaptive differential judgment method thereof
CN115765743B (en) Multichannel ADC synchronous acquisition device and method based on ZYNQ
US7522897B2 (en) Adaptable DC offset correction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110629

Termination date: 20140828

EXPY Termination of patent right or utility model